<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script src="../js/ajax_v2.js"></script>
    <script>

        const p = ajax({
            type: 'post',
            url: 'http://121.43.116.41/php/login.php',
            data: {
                username: 'yy',
                password: '666'
            }
        })



        p.then(res => {
            console.log(res);

        })

    </script>

</body>

</html>